#include <catch2/catch.hpp>

#include "039_easy.hpp"

using namespace jianzhi_039;

TEST_CASE("039", "[JIANZHI][039]")
{

CHECK(Solution().majorityElement({1,2,3,2,2,2,5,4,2}) == 2);
CHECK(Solution().majorityElement({6,5,5}) == 5);

}
